package com.to_door_recycle.common.exception.auth;

import com.to_door_recycle.common.enums.ExceptionStatusEnum;
import com.to_door_recycle.common.exception.BaseException;
import lombok.Data;

public class AuthException extends BaseException {

    public AuthException(Integer code, String message) {
        super(code, message);
    }
    public AuthException(ExceptionStatusEnum statusEnum) {
        super(statusEnum.getCode(), statusEnum.getMessage());
    }
}
